import React, { Component } from 'react'
import observer from '../utils/observer'
export default class First extends Component {

  send=()=>{
    observer.dispatch('我给兄弟姐们300元')
  }
  render() {
    return (
      <div style={{flex:1,backgroundColor:'red',height:'100vh'}}>
        <h1>大师兄</h1>
        <button onClick={this.send}>发送</button>
      </div>
    )
  }
}
